package com.exam.domain;

import java.util.List;

/**
 * Created by jly on 2016/12/20.
 */
public class Role {
    /*角色id*/
    private Integer roleId;

    /*角色名称*/
    private String roleName;

    /*角色下包含的用户*/
    private List<User> users;

    public Role() {
    }

    public Role(Integer roleId, String roleName, List<User> users) {
        this.roleId = roleId;
        this.roleName = roleName;
        this.users = users;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<User> getUsers() {
        return users;
    }

    public void setUsers(List<User> users) {
        this.users = users;
    }
}
